projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bd23b0
)
Fix vc test for RCS
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 29 Aug 2021 19:56:22 +0000
(21:56 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 29 Aug 2021 19:56:22 +0000
(21:56 +0200)
* test/lisp/vc/vc-tests.el (vc-test--rename-file): Fix test for RCS.
test/lisp/vc/vc-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/vc/vc-tests.el
b/test/lisp/vc/vc-tests.el
index dbb8a9e3d12284bde323bdba2347fbdf011983a7..f2807a3f0639d512908a6768898e23ec2f6a6e1f 100644
(file)
--- a/
test/lisp/vc/vc-tests.el
+++ b/
test/lisp/vc/vc-tests.el
@@
-588,7
+588,10
@@
This checks also `vc-backend' and `vc-responsible-backend'."
(should (not (file-exists-p tmp-name)))
(should (file-exists-p new-name))
- (should (equal (vc-state new-name) 'added))))
+ (should (equal (vc-state new-name)
+ (if (eq backend 'RCS)
+ 'up-to-date
+ 'added)))))
;; Save exit.
(ignore-errors